package li.idao;

import java.util.List;

import li.entity.Book;
import li.entity.User;


public interface IBookDao {
	public List<Book> findOneByBookname(String keyword);
	public List<Book> findOneByAuthorname(String keyword);
	public List<Book> findOneByBookindex(String keyword);
	public Book findOneById(long id);
	public Book findBookById(long id);
	public void returnBook(Book b);
	public void borrowBook(Book b);
	public List<Book> findHotBooks(int topn);
}
